<? require_once ('library/banks/FileData.php'); ?>
<link rel="stylesheet" type="text/css" href="pack/styles/final_drop.css">
<div id="title-block">
	<br>&nbsp;

<div class="menu">

<ul>
<li><a href="index.php">Home<!--[if IE 7]><!--></a><!--<![endif]-->
<!--[if lte IE 6]><table><tr><td><![endif]--><!--[if lte IE 6]></td></tr></table></a><![endif]--></li>

<li><a href="?type=category&page=-1">Categories<!--[if IE 7]><!--></a><!--<![endif]-->
<!--[if lte IE 6]><table><tr><td><![endif]-->
	<ul>
<? 
	$recent = noter_querty('subjects', 'ORDER BY id');
	foreach($recent as $c)
	{
		echo '<li><a href="?type=category&page='.$c['id'].'">'.$c['name'].'</a></li>';
	}
?>
</ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>

<li><a href="?type=category&page=-2"">Recent<!--[if IE 7]><!--></a><!--<![endif]-->
<!--[if lte IE 6]><table><tr><td><![endif]-->
	<ul>
<? 
	$recent=GetFileDataByCategory(-2);
	foreach($recent as $file)
	{
		echo '<li><a href="?type=file&page='.$file['id'].'">'.$file['title'].'</a></li>';
	}
?>
	</ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>

<li><a href="#">Manage<!--[if IE 7]><!--></a><!--<![endif]-->
<!--[if lte IE 6]><table><tr><td><![endif]-->
	<ul>
		<li><a href="?type=upload">Upload Notes</a></li>
		<li><a href="?type=update">Profile</a></li>
		<li><a href="?type=logout">Logout</a></li>
	</ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
</ul>

</div>

<div style="font:9pt normal verdana; font-style:italic; position:absolute;left:395px; top:121px;" >
<form name="searchform" action="index.php?type=search" method="post"><input type="text" name="q" value="Search..." style="color:#777; height:24px; width:121px;border:1px solid #777 ">
<img src="pack/images/info.png" width="25px" style="display:inline; left:325px;top:4px; position:absolute"></form>
</div>

